import { defineComponent as St, reactive as Pt, watch as kt, toRefs as Lt } from "vue-demi";
const vt = /-(\w)/g;
function gt(t) {
  return t.replace(vt, (e, n) => n.toUpperCase());
}
const Ut = "frog";
function Ft(t) {
  return t = `${Ut}-${t}`, [t, gt(`-${t}`)];
}
function zt(t) {
  return t.install = (e) => {
    const n = t.name, [i, r] = Ft(n);
    e.component(i, t), e.component(r, t), e.component(n, t), e.component(gt(`-${n}`), t);
  }, t;
}
var $ = {}, $t = function() {
  return typeof Promise == "function" && Promise.prototype && Promise.prototype.then;
}, mt = {}, A = {};
let it;
const Ht = [
  0,
  26,
  44,
  70,
  100,
  134,
  172,
  196,
  242,
  292,
  346,
  404,
  466,
  532,
  581,
  655,
  733,
  815,
  901,
  991,
  1085,
  1156,
  1258,
  1364,
  1474,
  1588,
  1706,
  1828,
  1921,
  2051,
  2185,
  2323,
  2465,
  2611,
  2761,
  2876,
  3034,
  3196,
  3362,
  3532,
  3706
];
A.getSymbolSize = function(e) {
  if (!e)
    throw new Error('"version" cannot be null or undefined');
  if (e < 1 || e > 40)
    throw new Error('"version" should be in range from 1 to 40');
  return e * 4 + 17;
};
A.getSymbolTotalCodewords = function(e) {
  return Ht[e];
};
A.getBCHDigit = function(t) {
  let e = 0;
  for (; t !== 0; )
    e++, t >>>= 1;
  return e;
};
A.setToSJISFunction = function(e) {
  if (typeof e != "function")
    throw new Error('"toSJISFunc" is not a valid function.');
  it = e;
};
A.isKanjiModeEnabled = function() {
  return typeof it < "u";
};
A.toSJIS = function(e) {
  return it(e);
};
var Y = {};
(function(t) {
  t.L = { bit: 1 }, t.M = { bit: 0 }, t.Q = { bit: 3 }, t.H = { bit: 2 };
  function e(n) {
    if (typeof n != "string")
      throw new Error("Param is not a string");
    switch (n.toLowerCase()) {
      case "l":
      case "low":
        return t.L;
      case "m":
      case "medium":
        return t.M;
      case "q":
      case "quartile":
        return t.Q;
      case "h":
      case "high":
        return t.H;
      default:
        throw new Error("Unknown EC Level: " + n);
    }
  }
  t.isValid = function(i) {
    return i && typeof i.bit < "u" && i.bit >= 0 && i.bit < 4;
  }, t.from = function(i, r) {
    if (t.isValid(i))
      return i;
    try {
      return e(i);
    } catch {
      return r;
    }
  };
})(Y);
function Ct() {
  this.buffer = [], this.length = 0;
}
Ct.prototype = {
  get: function(t) {
    const e = Math.floor(t / 8);
    return (this.buffer[e] >>> 7 - t % 8 & 1) === 1;
  },
  put: function(t, e) {
    for (let n = 0; n < e; n++)
      this.putBit((t >>> e - n - 1 & 1) === 1);
  },
  getLengthInBits: function() {
    return this.length;
  },
  putBit: function(t) {
    const e = Math.floor(this.length / 8);
    this.buffer.length <= e && this.buffer.push(0), t && (this.buffer[e] |= 128 >>> this.length % 8), this.length++;
  }
};
var Vt = Ct;
function H(t) {
  if (!t || t < 1)
    throw new Error("BitMatrix size must be defined and greater than 0");
  this.size = t, this.data = new Uint8Array(t * t), this.reservedBit = new Uint8Array(t * t);
}
H.prototype.set = function(t, e, n, i) {
  const r = t * this.size + e;
  this.data[r] = n, i && (this.reservedBit[r] = !0);
};
H.prototype.get = function(t, e) {
  return this.data[t * this.size + e];
};
H.prototype.xor = function(t, e, n) {
  this.data[t * this.size + e] ^= n;
};
H.prototype.isReserved = function(t, e) {
  return this.reservedBit[t * this.size + e];
};
var Kt = H, pt = {};
(function(t) {
  const e = A.getSymbolSize;
  t.getRowColCoords = function(i) {
    if (i === 1)
      return [];
    const r = Math.floor(i / 7) + 2, o = e(i), a = o === 145 ? 26 : Math.ceil((o - 13) / (2 * r - 2)) * 2, c = [o - 7];
    for (let s = 1; s < r - 1; s++)
      c[s] = c[s - 1] - a;
    return c.push(6), c.reverse();
  }, t.getPositions = function(i) {
    const r = [], o = t.getRowColCoords(i), a = o.length;
    for (let c = 0; c < a; c++)
      for (let s = 0; s < a; s++)
        c === 0 && s === 0 || c === 0 && s === a - 1 || c === a - 1 && s === 0 || r.push([o[c], o[s]]);
    return r;
  };
})(pt);
var wt = {};
const Jt = A.getSymbolSize, lt = 7;
wt.getPositions = function(e) {
  const n = Jt(e);
  return [
    [0, 0],
    [n - lt, 0],
    [0, n - lt]
  ];
};
var yt = {};
(function(t) {
  t.Patterns = {
    PATTERN000: 0,
    PATTERN001: 1,
    PATTERN010: 2,
    PATTERN011: 3,
    PATTERN100: 4,
    PATTERN101: 5,
    PATTERN110: 6,
    PATTERN111: 7
  };
  const e = {
    N1: 3,
    N2: 3,
    N3: 40,
    N4: 10
  };
  t.isValid = function(r) {
    return r != null && r !== "" && !isNaN(r) && r >= 0 && r <= 7;
  }, t.from = function(r) {
    return t.isValid(r) ? parseInt(r, 10) : void 0;
  }, t.getPenaltyN1 = function(r) {
    const o = r.size;
    let a = 0, c = 0, s = 0, u = null, l = null;
    for (let y = 0; y < o; y++) {
      c = s = 0, u = l = null;
      for (let f = 0; f < o; f++) {
        let d = r.get(y, f);
        d === u ? c++ : (c >= 5 && (a += e.N1 + (c - 5)), u = d, c = 1), d = r.get(f, y), d === l ? s++ : (s >= 5 && (a += e.N1 + (s - 5)), l = d, s = 1);
      }
      c >= 5 && (a += e.N1 + (c - 5)), s >= 5 && (a += e.N1 + (s - 5));
    }
    return a;
  }, t.getPenaltyN2 = function(r) {
    const o = r.size;
    let a = 0;
    for (let c = 0; c < o - 1; c++)
      for (let s = 0; s < o - 1; s++) {
        const u = r.get(c, s) + r.get(c, s + 1) + r.get(c + 1, s) + r.get(c + 1, s + 1);
        (u === 4 || u === 0) && a++;
      }
    return a * e.N2;
  }, t.getPenaltyN3 = function(r) {
    const o = r.size;
    let a = 0, c = 0, s = 0;
    for (let u = 0; u < o; u++) {
      c = s = 0;
      for (let l = 0; l < o; l++)
        c = c << 1 & 2047 | r.get(u, l), l >= 10 && (c === 1488 || c === 93) && a++, s = s << 1 & 2047 | r.get(l, u), l >= 10 && (s === 1488 || s === 93) && a++;
    }
    return a * e.N3;
  }, t.getPenaltyN4 = function(r) {
    let o = 0;
    const a = r.data.length;
    for (let s = 0; s < a; s++)
      o += r.data[s];
    return Math.abs(Math.ceil(o * 100 / a / 5) - 10) * e.N4;
  };
  function n(i, r, o) {
    switch (i) {
      case t.Patterns.PATTERN000:
        return (r + o) % 2 === 0;
      case t.Patterns.PATTERN001:
        return r % 2 === 0;
      case t.Patterns.PATTERN010:
        return o % 3 === 0;
      case t.Patterns.PATTERN011:
        return (r + o) % 3 === 0;
      case t.Patterns.PATTERN100:
        return (Math.floor(r / 2) + Math.floor(o / 3)) % 2 === 0;
      case t.Patterns.PATTERN101:
        return r * o % 2 + r * o % 3 === 0;
      case t.Patterns.PATTERN110:
        return (r * o % 2 + r * o % 3) % 2 === 0;
      case t.Patterns.PATTERN111:
        return (r * o % 3 + (r + o) % 2) % 2 === 0;
      default:
        throw new Error("bad maskPattern:" + i);
    }
  }
  t.applyMask = function(r, o) {
    const a = o.size;
    for (let c = 0; c < a; c++)
      for (let s = 0; s < a; s++)
        o.isReserved(s, c) || o.xor(s, c, n(r, s, c));
  }, t.getBestMask = function(r, o) {
    const a = Object.keys(t.Patterns).length;
    let c = 0, s = 1 / 0;
    for (let u = 0; u < a; u++) {
      o(u), t.applyMask(u, r);
      const l = t.getPenaltyN1(r) + t.getPenaltyN2(r) + t.getPenaltyN3(r) + t.getPenaltyN4(r);
      t.applyMask(u, r), l < s && (s = l, c = u);
    }
    return c;
  };
})(yt);
var j = {};
const R = Y, V = [
  1,
  1,
  1,
  1,
  1,
  1,
  1,
  1,
  1,
  1,
  2,
  2,
  1,
  2,
  2,
  4,
  1,
  2,
  4,
  4,
  2,
  4,
  4,
  4,
  2,
  4,
  6,
  5,
  2,
  4,
  6,
  6,
  2,
  5,
  8,
  8,
  4,
  5,
  8,
  8,
  4,
  5,
  8,
  11,
  4,
  8,
  10,
  11,
  4,
  9,
  12,
  16,
  4,
  9,
  16,
  16,
  6,
  10,
  12,
  18,
  6,
  10,
  17,
  16,
  6,
  11,
  16,
  19,
  6,
  13,
  18,
  21,
  7,
  14,
  21,
  25,
  8,
  16,
  20,
  25,
  8,
  17,
  23,
  25,
  9,
  17,
  23,
  34,
  9,
  18,
  25,
  30,
  10,
  20,
  27,
  32,
  12,
  21,
  29,
  35,
  12,
  23,
  34,
  37,
  12,
  25,
  34,
  40,
  13,
  26,
  35,
  42,
  14,
  28,
  38,
  45,
  15,
  29,
  40,
  48,
  16,
  31,
  43,
  51,
  17,
  33,
  45,
  54,
  18,
  35,
  48,
  57,
  19,
  37,
  51,
  60,
  19,
  38,
  53,
  63,
  20,
  40,
  56,
  66,
  21,
  43,
  59,
  70,
  22,
  45,
  62,
  74,
  24,
  47,
  65,
  77,
  25,
  49,
  68,
  81
], K = [
  7,
  10,
  13,
  17,
  10,
  16,
  22,
  28,
  15,
  26,
  36,
  44,
  20,
  36,
  52,
  64,
  26,
  48,
  72,
  88,
  36,
  64,
  96,
  112,
  40,
  72,
  108,
  130,
  48,
  88,
  132,
  156,
  60,
  110,
  160,
  192,
  72,
  130,
  192,
  224,
  80,
  150,
  224,
  264,
  96,
  176,
  260,
  308,
  104,
  198,
  288,
  352,
  120,
  216,
  320,
  384,
  132,
  240,
  360,
  432,
  144,
  280,
  408,
  480,
  168,
  308,
  448,
  532,
  180,
  338,
  504,
  588,
  196,
  364,
  546,
  650,
  224,
  416,
  600,
  700,
  224,
  442,
  644,
  750,
  252,
  476,
  690,
  816,
  270,
  504,
  750,
  900,
  300,
  560,
  810,
  960,
  312,
  588,
  870,
  1050,
  336,
  644,
  952,
  1110,
  360,
  700,
  1020,
  1200,
  390,
  728,
  1050,
  1260,
  420,
  784,
  1140,
  1350,
  450,
  812,
  1200,
  1440,
  480,
  868,
  1290,
  1530,
  510,
  924,
  1350,
  1620,
  540,
  980,
  1440,
  1710,
  570,
  1036,
  1530,
  1800,
  570,
  1064,
  1590,
  1890,
  600,
  1120,
  1680,
  1980,
  630,
  1204,
  1770,
  2100,
  660,
  1260,
  1860,
  2220,
  720,
  1316,
  1950,
  2310,
  750,
  1372,
  2040,
  2430
];
j.getBlocksCount = function(e, n) {
  switch (n) {
    case R.L:
      return V[(e - 1) * 4 + 0];
    case R.M:
      return V[(e - 1) * 4 + 1];
    case R.Q:
      return V[(e - 1) * 4 + 2];
    case R.H:
      return V[(e - 1) * 4 + 3];
    default:
      return;
  }
};
j.getTotalCodewordsCount = function(e, n) {
  switch (n) {
    case R.L:
      return K[(e - 1) * 4 + 0];
    case R.M:
      return K[(e - 1) * 4 + 1];
    case R.Q:
      return K[(e - 1) * 4 + 2];
    case R.H:
      return K[(e - 1) * 4 + 3];
    default:
      return;
  }
};
var Et = {}, Q = {};
const F = new Uint8Array(512), J = new Uint8Array(256);
(function() {
  let e = 1;
  for (let n = 0; n < 255; n++)
    F[n] = e, J[e] = n, e <<= 1, e & 256 && (e ^= 285);
  for (let n = 255; n < 512; n++)
    F[n] = F[n - 255];
})();
Q.log = function(e) {
  if (e < 1)
    throw new Error("log(" + e + ")");
  return J[e];
};
Q.exp = function(e) {
  return F[e];
};
Q.mul = function(e, n) {
  return e === 0 || n === 0 ? 0 : F[J[e] + J[n]];
};
(function(t) {
  const e = Q;
  t.mul = function(i, r) {
    const o = new Uint8Array(i.length + r.length - 1);
    for (let a = 0; a < i.length; a++)
      for (let c = 0; c < r.length; c++)
        o[a + c] ^= e.mul(i[a], r[c]);
    return o;
  }, t.mod = function(i, r) {
    let o = new Uint8Array(i);
    for (; o.length - r.length >= 0; ) {
      const a = o[0];
      for (let s = 0; s < r.length; s++)
        o[s] ^= e.mul(r[s], a);
      let c = 0;
      for (; c < o.length && o[c] === 0; )
        c++;
      o = o.slice(c);
    }
    return o;
  }, t.generateECPolynomial = function(i) {
    let r = new Uint8Array([1]);
    for (let o = 0; o < i; o++)
      r = t.mul(r, new Uint8Array([1, e.exp(o)]));
    return r;
  };
})(Et);
const _t = Et;
function st(t) {
  this.genPoly = void 0, this.degree = t, this.degree && this.initialize(this.degree);
}
st.prototype.initialize = function(e) {
  this.degree = e, this.genPoly = _t.generateECPolynomial(this.degree);
};
st.prototype.encode = function(e) {
  if (!this.genPoly)
    throw new Error("Encoder not initialized");
  const n = new Uint8Array(e.length + this.degree);
  n.set(e);
  const i = _t.mod(n, this.genPoly), r = this.degree - i.length;
  if (r > 0) {
    const o = new Uint8Array(this.degree);
    return o.set(i, r), o;
  }
  return i;
};
var Ot = st, Bt = {}, S = {}, at = {};
at.isValid = function(e) {
  return !isNaN(e) && e >= 1 && e <= 40;
};
var D = {};
const Tt = "[0-9]+", Yt = "[A-Z $%*+\\-./:]+";
let z = "(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";
z = z.replace(/u/g, "\\u");
const jt = "(?:(?![A-Z0-9 $%*+\\-./:]|" + z + `)(?:.|[\r
]))+`;
D.KANJI = new RegExp(z, "g");
D.BYTE_KANJI = new RegExp("[^A-Z0-9 $%*+\\-./:]+", "g");
D.BYTE = new RegExp(jt, "g");
D.NUMERIC = new RegExp(Tt, "g");
D.ALPHANUMERIC = new RegExp(Yt, "g");
const Qt = new RegExp("^" + z + "$"), Gt = new RegExp("^" + Tt + "$"), qt = new RegExp("^[A-Z0-9 $%*+\\-./:]+$");
D.testKanji = function(e) {
  return Qt.test(e);
};
D.testNumeric = function(e) {
  return Gt.test(e);
};
D.testAlphanumeric = function(e) {
  return qt.test(e);
};
(function(t) {
  const e = at, n = D;
  t.NUMERIC = {
    id: "Numeric",
    bit: 1 << 0,
    ccBits: [10, 12, 14]
  }, t.ALPHANUMERIC = {
    id: "Alphanumeric",
    bit: 1 << 1,
    ccBits: [9, 11, 13]
  }, t.BYTE = {
    id: "Byte",
    bit: 1 << 2,
    ccBits: [8, 16, 16]
  }, t.KANJI = {
    id: "Kanji",
    bit: 1 << 3,
    ccBits: [8, 10, 12]
  }, t.MIXED = {
    bit: -1
  }, t.getCharCountIndicator = function(o, a) {
    if (!o.ccBits)
      throw new Error("Invalid mode: " + o);
    if (!e.isValid(a))
      throw new Error("Invalid version: " + a);
    return a >= 1 && a < 10 ? o.ccBits[0] : a < 27 ? o.ccBits[1] : o.ccBits[2];
  }, t.getBestModeForData = function(o) {
    return n.testNumeric(o) ? t.NUMERIC : n.testAlphanumeric(o) ? t.ALPHANUMERIC : n.testKanji(o) ? t.KANJI : t.BYTE;
  }, t.toString = function(o) {
    if (o && o.id)
      return o.id;
    throw new Error("Invalid mode");
  }, t.isValid = function(o) {
    return o && o.bit && o.ccBits;
  };
  function i(r) {
    if (typeof r != "string")
      throw new Error("Param is not a string");
    switch (r.toLowerCase()) {
      case "numeric":
        return t.NUMERIC;
      case "alphanumeric":
        return t.ALPHANUMERIC;
      case "kanji":
        return t.KANJI;
      case "byte":
        return t.BYTE;
      default:
        throw new Error("Unknown mode: " + r);
    }
  }
  t.from = function(o, a) {
    if (t.isValid(o))
      return o;
    try {
      return i(o);
    } catch {
      return a;
    }
  };
})(S);
(function(t) {
  const e = A, n = j, i = Y, r = S, o = at, a = 1 << 12 | 1 << 11 | 1 << 10 | 1 << 9 | 1 << 8 | 1 << 5 | 1 << 2 | 1 << 0, c = e.getBCHDigit(a);
  function s(f, d, C) {
    for (let p = 1; p <= 40; p++)
      if (d <= t.getCapacity(p, C, f))
        return p;
  }
  function u(f, d) {
    return r.getCharCountIndicator(f, d) + 4;
  }
  function l(f, d) {
    let C = 0;
    return f.forEach(function(p) {
      const T = u(p.mode, d);
      C += T + p.getBitsLength();
    }), C;
  }
  function y(f, d) {
    for (let C = 1; C <= 40; C++)
      if (l(f, C) <= t.getCapacity(C, d, r.MIXED))
        return C;
  }
  t.from = function(d, C) {
    return o.isValid(d) ? parseInt(d, 10) : C;
  }, t.getCapacity = function(d, C, p) {
    if (!o.isValid(d))
      throw new Error("Invalid QR Code version");
    typeof p > "u" && (p = r.BYTE);
    const T = e.getSymbolTotalCodewords(d), m = n.getTotalCodewordsCount(d, C), w = (T - m) * 8;
    if (p === r.MIXED)
      return w;
    const g = w - u(p, d);
    switch (p) {
      case r.NUMERIC:
        return Math.floor(g / 10 * 3);
      case r.ALPHANUMERIC:
        return Math.floor(g / 11 * 2);
      case r.KANJI:
        return Math.floor(g / 13);
      case r.BYTE:
      default:
        return Math.floor(g / 8);
    }
  }, t.getBestVersionForData = function(d, C) {
    let p;
    const T = i.from(C, i.M);
    if (Array.isArray(d)) {
      if (d.length > 1)
        return y(d, T);
      if (d.length === 0)
        return 1;
      p = d[0];
    } else
      p = d;
    return s(p.mode, p.getLength(), T);
  }, t.getEncodedBits = function(d) {
    if (!o.isValid(d) || d < 7)
      throw new Error("Invalid QR Code version");
    let C = d << 12;
    for (; e.getBCHDigit(C) - c >= 0; )
      C ^= a << e.getBCHDigit(C) - c;
    return d << 12 | C;
  };
})(Bt);
var At = {};
const et = A, Nt = 1 << 10 | 1 << 8 | 1 << 5 | 1 << 4 | 1 << 2 | 1 << 1 | 1 << 0, xt = 1 << 14 | 1 << 12 | 1 << 10 | 1 << 4 | 1 << 1, ft = et.getBCHDigit(Nt);
At.getEncodedBits = function(e, n) {
  const i = e.bit << 3 | n;
  let r = i << 10;
  for (; et.getBCHDigit(r) - ft >= 0; )
    r ^= Nt << et.getBCHDigit(r) - ft;
  return (i << 10 | r) ^ xt;
};
var It = {};
const Wt = S;
function P(t) {
  this.mode = Wt.NUMERIC, this.data = t.toString();
}
P.getBitsLength = function(e) {
  return 10 * Math.floor(e / 3) + (e % 3 ? e % 3 * 3 + 1 : 0);
};
P.prototype.getLength = function() {
  return this.data.length;
};
P.prototype.getBitsLength = function() {
  return P.getBitsLength(this.data.length);
};
P.prototype.write = function(e) {
  let n, i, r;
  for (n = 0; n + 3 <= this.data.length; n += 3)
    i = this.data.substr(n, 3), r = parseInt(i, 10), e.put(r, 10);
  const o = this.data.length - n;
  o > 0 && (i = this.data.substr(n), r = parseInt(i, 10), e.put(r, o * 3 + 1));
};
var Xt = P;
const Zt = S, x = [
  "0",
  "1",
  "2",
  "3",
  "4",
  "5",
  "6",
  "7",
  "8",
  "9",
  "A",
  "B",
  "C",
  "D",
  "E",
  "F",
  "G",
  "H",
  "I",
  "J",
  "K",
  "L",
  "M",
  "N",
  "O",
  "P",
  "Q",
  "R",
  "S",
  "T",
  "U",
  "V",
  "W",
  "X",
  "Y",
  "Z",
  " ",
  "$",
  "%",
  "*",
  "+",
  "-",
  ".",
  "/",
  ":"
];
function k(t) {
  this.mode = Zt.ALPHANUMERIC, this.data = t;
}
k.getBitsLength = function(e) {
  return 11 * Math.floor(e / 2) + 6 * (e % 2);
};
k.prototype.getLength = function() {
  return this.data.length;
};
k.prototype.getBitsLength = function() {
  return k.getBitsLength(this.data.length);
};
k.prototype.write = function(e) {
  let n;
  for (n = 0; n + 2 <= this.data.length; n += 2) {
    let i = x.indexOf(this.data[n]) * 45;
    i += x.indexOf(this.data[n + 1]), e.put(i, 11);
  }
  this.data.length % 2 && e.put(x.indexOf(this.data[n]), 6);
};
var te = k, ee = function(e) {
  for (var n = [], i = e.length, r = 0; r < i; r++) {
    var o = e.charCodeAt(r);
    if (o >= 55296 && o <= 56319 && i > r + 1) {
      var a = e.charCodeAt(r + 1);
      a >= 56320 && a <= 57343 && (o = (o - 55296) * 1024 + a - 56320 + 65536, r += 1);
    }
    if (o < 128) {
      n.push(o);
      continue;
    }
    if (o < 2048) {
      n.push(o >> 6 | 192), n.push(o & 63 | 128);
      continue;
    }
    if (o < 55296 || o >= 57344 && o < 65536) {
      n.push(o >> 12 | 224), n.push(o >> 6 & 63 | 128), n.push(o & 63 | 128);
      continue;
    }
    if (o >= 65536 && o <= 1114111) {
      n.push(o >> 18 | 240), n.push(o >> 12 & 63 | 128), n.push(o >> 6 & 63 | 128), n.push(o & 63 | 128);
      continue;
    }
    n.push(239, 191, 189);
  }
  return new Uint8Array(n).buffer;
};
const ne = ee, re = S;
function L(t) {
  this.mode = re.BYTE, this.data = new Uint8Array(ne(t));
}
L.getBitsLength = function(e) {
  return e * 8;
};
L.prototype.getLength = function() {
  return this.data.length;
};
L.prototype.getBitsLength = function() {
  return L.getBitsLength(this.data.length);
};
L.prototype.write = function(t) {
  for (let e = 0, n = this.data.length; e < n; e++)
    t.put(this.data[e], 8);
};
var oe = L;
const ie = S, se = A;
function v(t) {
  this.mode = ie.KANJI, this.data = t;
}
v.getBitsLength = function(e) {
  return e * 13;
};
v.prototype.getLength = function() {
  return this.data.length;
};
v.prototype.getBitsLength = function() {
  return v.getBitsLength(this.data.length);
};
v.prototype.write = function(t) {
  let e;
  for (e = 0; e < this.data.length; e++) {
    let n = se.toSJIS(this.data[e]);
    if (n >= 33088 && n <= 40956)
      n -= 33088;
    else if (n >= 57408 && n <= 60351)
      n -= 49472;
    else
      throw new Error(
        "Invalid SJIS character: " + this.data[e] + `
Make sure your charset is UTF-8`
      );
    n = (n >>> 8 & 255) * 192 + (n & 255), t.put(n, 13);
  }
};
var ae = v, Dt = { exports: {} };
(function(t) {
  var e = {
    single_source_shortest_paths: function(n, i, r) {
      var o = {}, a = {};
      a[i] = 0;
      var c = e.PriorityQueue.make();
      c.push(i, 0);
      for (var s, u, l, y, f, d, C, p, T; !c.empty(); ) {
        s = c.pop(), u = s.value, y = s.cost, f = n[u] || {};
        for (l in f)
          f.hasOwnProperty(l) && (d = f[l], C = y + d, p = a[l], T = typeof a[l] > "u", (T || p > C) && (a[l] = C, c.push(l, C), o[l] = u));
      }
      if (typeof r < "u" && typeof a[r] > "u") {
        var m = ["Could not find a path from ", i, " to ", r, "."].join("");
        throw new Error(m);
      }
      return o;
    },
    extract_shortest_path_from_predecessor_list: function(n, i) {
      for (var r = [], o = i; o; )
        r.push(o), n[o], o = n[o];
      return r.reverse(), r;
    },
    find_path: function(n, i, r) {
      var o = e.single_source_shortest_paths(n, i, r);
      return e.extract_shortest_path_from_predecessor_list(
        o,
        r
      );
    },
    PriorityQueue: {
      make: function(n) {
        var i = e.PriorityQueue, r = {}, o;
        n = n || {};
        for (o in i)
          i.hasOwnProperty(o) && (r[o] = i[o]);
        return r.queue = [], r.sorter = n.sorter || i.default_sorter, r;
      },
      default_sorter: function(n, i) {
        return n.cost - i.cost;
      },
      push: function(n, i) {
        var r = { value: n, cost: i };
        this.queue.push(r), this.queue.sort(this.sorter);
      },
      pop: function() {
        return this.queue.shift();
      },
      empty: function() {
        return this.queue.length === 0;
      }
    }
  };
  t.exports = e;
})(Dt);
(function(t) {
  const e = S, n = Xt, i = te, r = oe, o = ae, a = D, c = A, s = Dt.exports;
  function u(m) {
    return unescape(encodeURIComponent(m)).length;
  }
  function l(m, w, g) {
    const h = [];
    let E;
    for (; (E = m.exec(g)) !== null; )
      h.push({
        data: E[0],
        index: E.index,
        mode: w,
        length: E[0].length
      });
    return h;
  }
  function y(m) {
    const w = l(a.NUMERIC, e.NUMERIC, m), g = l(a.ALPHANUMERIC, e.ALPHANUMERIC, m);
    let h, E;
    return c.isKanjiModeEnabled() ? (h = l(a.BYTE, e.BYTE, m), E = l(a.KANJI, e.KANJI, m)) : (h = l(a.BYTE_KANJI, e.BYTE, m), E = []), w.concat(g, h, E).sort(function(B, N) {
      return B.index - N.index;
    }).map(function(B) {
      return {
        data: B.data,
        mode: B.mode,
        length: B.length
      };
    });
  }
  function f(m, w) {
    switch (w) {
      case e.NUMERIC:
        return n.getBitsLength(m);
      case e.ALPHANUMERIC:
        return i.getBitsLength(m);
      case e.KANJI:
        return o.getBitsLength(m);
      case e.BYTE:
        return r.getBitsLength(m);
    }
  }
  function d(m) {
    return m.reduce(function(w, g) {
      const h = w.length - 1 >= 0 ? w[w.length - 1] : null;
      return h && h.mode === g.mode ? (w[w.length - 1].data += g.data, w) : (w.push(g), w);
    }, []);
  }
  function C(m) {
    const w = [];
    for (let g = 0; g < m.length; g++) {
      const h = m[g];
      switch (h.mode) {
        case e.NUMERIC:
          w.push([
            h,
            { data: h.data, mode: e.ALPHANUMERIC, length: h.length },
            { data: h.data, mode: e.BYTE, length: h.length }
          ]);
          break;
        case e.ALPHANUMERIC:
          w.push([
            h,
            { data: h.data, mode: e.BYTE, length: h.length }
          ]);
          break;
        case e.KANJI:
          w.push([
            h,
            { data: h.data, mode: e.BYTE, length: u(h.data) }
          ]);
          break;
        case e.BYTE:
          w.push([
            { data: h.data, mode: e.BYTE, length: u(h.data) }
          ]);
      }
    }
    return w;
  }
  function p(m, w) {
    const g = {}, h = { start: {} };
    let E = ["start"];
    for (let _ = 0; _ < m.length; _++) {
      const B = m[_], N = [];
      for (let b = 0; b < B.length; b++) {
        const I = B[b], U = "" + _ + b;
        N.push(U), g[U] = { node: I, lastCount: 0 }, h[U] = {};
        for (let q = 0; q < E.length; q++) {
          const M = E[q];
          g[M] && g[M].node.mode === I.mode ? (h[M][U] = f(g[M].lastCount + I.length, I.mode) - f(g[M].lastCount, I.mode), g[M].lastCount += I.length) : (g[M] && (g[M].lastCount = I.length), h[M][U] = f(I.length, I.mode) + 4 + e.getCharCountIndicator(I.mode, w));
        }
      }
      E = N;
    }
    for (let _ = 0; _ < E.length; _++)
      h[E[_]].end = 0;
    return { map: h, table: g };
  }
  function T(m, w) {
    let g;
    const h = e.getBestModeForData(m);
    if (g = e.from(w, h), g !== e.BYTE && g.bit < h.bit)
      throw new Error('"' + m + '" cannot be encoded with mode ' + e.toString(g) + `.
 Suggested mode is: ` + e.toString(h));
    switch (g === e.KANJI && !c.isKanjiModeEnabled() && (g = e.BYTE), g) {
      case e.NUMERIC:
        return new n(m);
      case e.ALPHANUMERIC:
        return new i(m);
      case e.KANJI:
        return new o(m);
      case e.BYTE:
        return new r(m);
    }
  }
  t.fromArray = function(w) {
    return w.reduce(function(g, h) {
      return typeof h == "string" ? g.push(T(h, null)) : h.data && g.push(T(h.data, h.mode)), g;
    }, []);
  }, t.fromString = function(w, g) {
    const h = y(w, c.isKanjiModeEnabled()), E = C(h), _ = p(E, g), B = s.find_path(_.map, "start", "end"), N = [];
    for (let b = 1; b < B.length - 1; b++)
      N.push(_.table[B[b]].node);
    return t.fromArray(d(N));
  }, t.rawSplit = function(w) {
    return t.fromArray(
      y(w, c.isKanjiModeEnabled())
    );
  };
})(It);
const G = A, W = Y, ce = Vt, ue = Kt, le = pt, fe = wt, nt = yt, rt = j, de = Ot, O = Bt, he = At, ge = S, X = It;
function me(t, e) {
  const n = t.size, i = fe.getPositions(e);
  for (let r = 0; r < i.length; r++) {
    const o = i[r][0], a = i[r][1];
    for (let c = -1; c <= 7; c++)
      if (!(o + c <= -1 || n <= o + c))
        for (let s = -1; s <= 7; s++)
          a + s <= -1 || n <= a + s || (c >= 0 && c <= 6 && (s === 0 || s === 6) || s >= 0 && s <= 6 && (c === 0 || c === 6) || c >= 2 && c <= 4 && s >= 2 && s <= 4 ? t.set(o + c, a + s, !0, !0) : t.set(o + c, a + s, !1, !0));
  }
}
function Ce(t) {
  const e = t.size;
  for (let n = 8; n < e - 8; n++) {
    const i = n % 2 === 0;
    t.set(n, 6, i, !0), t.set(6, n, i, !0);
  }
}
function pe(t, e) {
  const n = le.getPositions(e);
  for (let i = 0; i < n.length; i++) {
    const r = n[i][0], o = n[i][1];
    for (let a = -2; a <= 2; a++)
      for (let c = -2; c <= 2; c++)
        a === -2 || a === 2 || c === -2 || c === 2 || a === 0 && c === 0 ? t.set(r + a, o + c, !0, !0) : t.set(r + a, o + c, !1, !0);
  }
}
function we(t, e) {
  const n = t.size, i = O.getEncodedBits(e);
  let r, o, a;
  for (let c = 0; c < 18; c++)
    r = Math.floor(c / 3), o = c % 3 + n - 8 - 3, a = (i >> c & 1) === 1, t.set(r, o, a, !0), t.set(o, r, a, !0);
}
function Z(t, e, n) {
  const i = t.size, r = he.getEncodedBits(e, n);
  let o, a;
  for (o = 0; o < 15; o++)
    a = (r >> o & 1) === 1, o < 6 ? t.set(o, 8, a, !0) : o < 8 ? t.set(o + 1, 8, a, !0) : t.set(i - 15 + o, 8, a, !0), o < 8 ? t.set(8, i - o - 1, a, !0) : o < 9 ? t.set(8, 15 - o - 1 + 1, a, !0) : t.set(8, 15 - o - 1, a, !0);
  t.set(i - 8, 8, 1, !0);
}
function ye(t, e) {
  const n = t.size;
  let i = -1, r = n - 1, o = 7, a = 0;
  for (let c = n - 1; c > 0; c -= 2)
    for (c === 6 && c--; ; ) {
      for (let s = 0; s < 2; s++)
        if (!t.isReserved(r, c - s)) {
          let u = !1;
          a < e.length && (u = (e[a] >>> o & 1) === 1), t.set(r, c - s, u), o--, o === -1 && (a++, o = 7);
        }
      if (r += i, r < 0 || n <= r) {
        r -= i, i = -i;
        break;
      }
    }
}
function Ee(t, e, n) {
  const i = new ce();
  n.forEach(function(s) {
    i.put(s.mode.bit, 4), i.put(s.getLength(), ge.getCharCountIndicator(s.mode, t)), s.write(i);
  });
  const r = G.getSymbolTotalCodewords(t), o = rt.getTotalCodewordsCount(t, e), a = (r - o) * 8;
  for (i.getLengthInBits() + 4 <= a && i.put(0, 4); i.getLengthInBits() % 8 !== 0; )
    i.putBit(0);
  const c = (a - i.getLengthInBits()) / 8;
  for (let s = 0; s < c; s++)
    i.put(s % 2 ? 17 : 236, 8);
  return _e(i, t, e);
}
function _e(t, e, n) {
  const i = G.getSymbolTotalCodewords(e), r = rt.getTotalCodewordsCount(e, n), o = i - r, a = rt.getBlocksCount(e, n), c = i % a, s = a - c, u = Math.floor(i / a), l = Math.floor(o / a), y = l + 1, f = u - l, d = new de(f);
  let C = 0;
  const p = new Array(a), T = new Array(a);
  let m = 0;
  const w = new Uint8Array(t.buffer);
  for (let B = 0; B < a; B++) {
    const N = B < s ? l : y;
    p[B] = w.slice(C, C + N), T[B] = d.encode(p[B]), C += N, m = Math.max(m, N);
  }
  const g = new Uint8Array(i);
  let h = 0, E, _;
  for (E = 0; E < m; E++)
    for (_ = 0; _ < a; _++)
      E < p[_].length && (g[h++] = p[_][E]);
  for (E = 0; E < f; E++)
    for (_ = 0; _ < a; _++)
      g[h++] = T[_][E];
  return g;
}
function Be(t, e, n, i) {
  let r;
  if (Array.isArray(t))
    r = X.fromArray(t);
  else if (typeof t == "string") {
    let u = e;
    if (!u) {
      const l = X.rawSplit(t);
      u = O.getBestVersionForData(l, n);
    }
    r = X.fromString(t, u || 40);
  } else
    throw new Error("Invalid data");
  const o = O.getBestVersionForData(r, n);
  if (!o)
    throw new Error("The amount of data is too big to be stored in a QR Code");
  if (!e)
    e = o;
  else if (e < o)
    throw new Error(
      `
The chosen QR Code version cannot contain this amount of data.
Minimum version required to store current data is: ` + o + `.
`
    );
  const a = Ee(e, n, r), c = G.getSymbolSize(e), s = new ue(c);
  return me(s, e), Ce(s), pe(s, e), Z(s, n, 0), e >= 7 && we(s, e), ye(s, a), isNaN(i) && (i = nt.getBestMask(
    s,
    Z.bind(null, s, n)
  )), nt.applyMask(i, s), Z(s, n, i), {
    modules: s,
    version: e,
    errorCorrectionLevel: n,
    maskPattern: i,
    segments: r
  };
}
mt.create = function(e, n) {
  if (typeof e > "u" || e === "")
    throw new Error("No input text");
  let i = W.M, r, o;
  return typeof n < "u" && (i = W.from(n.errorCorrectionLevel, W.M), r = O.from(n.version), o = nt.from(n.maskPattern), n.toSJISFunc && G.setToSJISFunction(n.toSJISFunc)), Be(e, r, i, o);
};
var Mt = {}, ct = {};
(function(t) {
  function e(n) {
    if (typeof n == "number" && (n = n.toString()), typeof n != "string")
      throw new Error("Color should be defined as hex string");
    let i = n.slice().replace("#", "").split("");
    if (i.length < 3 || i.length === 5 || i.length > 8)
      throw new Error("Invalid hex color: " + n);
    (i.length === 3 || i.length === 4) && (i = Array.prototype.concat.apply([], i.map(function(o) {
      return [o, o];
    }))), i.length === 6 && i.push("F", "F");
    const r = parseInt(i.join(""), 16);
    return {
      r: r >> 24 & 255,
      g: r >> 16 & 255,
      b: r >> 8 & 255,
      a: r & 255,
      hex: "#" + i.slice(0, 6).join("")
    };
  }
  t.getOptions = function(i) {
    i || (i = {}), i.color || (i.color = {});
    const r = typeof i.margin > "u" || i.margin === null || i.margin < 0 ? 4 : i.margin, o = i.width && i.width >= 21 ? i.width : void 0, a = i.scale || 4;
    return {
      width: o,
      scale: o ? 4 : a,
      margin: r,
      color: {
        dark: e(i.color.dark || "#000000ff"),
        light: e(i.color.light || "#ffffffff")
      },
      type: i.type,
      rendererOpts: i.rendererOpts || {}
    };
  }, t.getScale = function(i, r) {
    return r.width && r.width >= i + r.margin * 2 ? r.width / (i + r.margin * 2) : r.scale;
  }, t.getImageWidth = function(i, r) {
    const o = t.getScale(i, r);
    return Math.floor((i + r.margin * 2) * o);
  }, t.qrToImageData = function(i, r, o) {
    const a = r.modules.size, c = r.modules.data, s = t.getScale(a, o), u = Math.floor((a + o.margin * 2) * s), l = o.margin * s, y = [o.color.light, o.color.dark];
    for (let f = 0; f < u; f++)
      for (let d = 0; d < u; d++) {
        let C = (f * u + d) * 4, p = o.color.light;
        if (f >= l && d >= l && f < u - l && d < u - l) {
          const T = Math.floor((f - l) / s), m = Math.floor((d - l) / s);
          p = y[c[T * a + m] ? 1 : 0];
        }
        i[C++] = p.r, i[C++] = p.g, i[C++] = p.b, i[C] = p.a;
      }
  };
})(ct);
(function(t) {
  const e = ct;
  function n(r, o, a) {
    r.clearRect(0, 0, o.width, o.height), o.style || (o.style = {}), o.height = a, o.width = a, o.style.height = a + "px", o.style.width = a + "px";
  }
  function i() {
    try {
      return document.createElement("canvas");
    } catch {
      throw new Error("You need to specify a canvas element");
    }
  }
  t.render = function(o, a, c) {
    let s = c, u = a;
    typeof s > "u" && (!a || !a.getContext) && (s = a, a = void 0), a || (u = i()), s = e.getOptions(s);
    const l = e.getImageWidth(o.modules.size, s), y = u.getContext("2d"), f = y.createImageData(l, l);
    return e.qrToImageData(f.data, o, s), n(y, u, l), y.putImageData(f, 0, 0), u;
  }, t.renderToDataURL = function(o, a, c) {
    let s = c;
    typeof s > "u" && (!a || !a.getContext) && (s = a, a = void 0), s || (s = {});
    const u = t.render(o, a, s), l = s.type || "image/png", y = s.rendererOpts || {};
    return u.toDataURL(l, y.quality);
  };
})(Mt);
var bt = {};
const Te = ct;
function dt(t, e) {
  const n = t.a / 255, i = e + '="' + t.hex + '"';
  return n < 1 ? i + " " + e + '-opacity="' + n.toFixed(2).slice(1) + '"' : i;
}
function tt(t, e, n) {
  let i = t + e;
  return typeof n < "u" && (i += " " + n), i;
}
function Ae(t, e, n) {
  let i = "", r = 0, o = !1, a = 0;
  for (let c = 0; c < t.length; c++) {
    const s = Math.floor(c % e), u = Math.floor(c / e);
    !s && !o && (o = !0), t[c] ? (a++, c > 0 && s > 0 && t[c - 1] || (i += o ? tt("M", s + n, 0.5 + u + n) : tt("m", r, 0), r = 0, o = !1), s + 1 < e && t[c + 1] || (i += tt("h", a), a = 0)) : r++;
  }
  return i;
}
bt.render = function(e, n, i) {
  const r = Te.getOptions(n), o = e.modules.size, a = e.modules.data, c = o + r.margin * 2, s = r.color.light.a ? "<path " + dt(r.color.light, "fill") + ' d="M0 0h' + c + "v" + c + 'H0z"/>' : "", u = "<path " + dt(r.color.dark, "stroke") + ' d="' + Ae(a, o, r.margin) + '"/>', l = 'viewBox="0 0 ' + c + " " + c + '"', f = '<svg xmlns="http://www.w3.org/2000/svg" ' + (r.width ? 'width="' + r.width + '" height="' + r.width + '" ' : "") + l + ' shape-rendering="crispEdges">' + s + u + `</svg>
`;
  return typeof i == "function" && i(null, f), f;
};
const Ne = $t, ot = mt, Rt = Mt, Ie = bt;
function ut(t, e, n, i, r) {
  const o = [].slice.call(arguments, 1), a = o.length, c = typeof o[a - 1] == "function";
  if (!c && !Ne())
    throw new Error("Callback required as last argument");
  if (c) {
    if (a < 2)
      throw new Error("Too few arguments provided");
    a === 2 ? (r = n, n = e, e = i = void 0) : a === 3 && (e.getContext && typeof r > "u" ? (r = i, i = void 0) : (r = i, i = n, n = e, e = void 0));
  } else {
    if (a < 1)
      throw new Error("Too few arguments provided");
    return a === 1 ? (n = e, e = i = void 0) : a === 2 && !e.getContext && (i = n, n = e, e = void 0), new Promise(function(s, u) {
      try {
        const l = ot.create(n, i);
        s(t(l, e, i));
      } catch (l) {
        u(l);
      }
    });
  }
  try {
    const s = ot.create(n, i);
    r(null, t(s, e, i));
  } catch (s) {
    r(s);
  }
}
$.create = ot.create;
$.toCanvas = ut.bind(null, Rt.render);
$.toDataURL = ut.bind(null, Rt.renderToDataURL);
$.toString = ut.bind(null, function(t, e, n) {
  return Ie.render(t, n);
});
const De = (t = {
  domID: "",
  text: "",
  width: "100px",
  height: "100px",
  colorDark: "#000",
  colorLight: "#fff",
  margin: 1
}) => {
  $.toCanvas(t.text, {
    errorCorrectionLevel: "L",
    margin: t.margin,
    scal: 177,
    color: {
      dark: t.colorDark,
      light: t.colorLight
    },
    rendererOpts: {
      quality: 0.9
    }
  }).then((e) => {
    e.style.height = t.height, e.style.width = t.width;
    const n = document.getElementById(t.domID);
    n.innerHTML = "", n.appendChild(e);
  }).catch((e) => {
    console.log("err", e);
  });
}, Me = (t) => t != null && t.startsWith("http") || t != null && t.startsWith("data:image") ? t : t ? `data:image/png;base64,${t}` : "";
var be = function() {
  var t = this, e = t.$createElement, n = t._self._c || e;
  return n("div", {
    staticClass: "titcket"
  }, [n("table", {
    attrs: {
      cellspacing: "0",
      cellpadding: "0"
    }
  }, [n("tr", [n("th", {
    staticClass: "title",
    attrs: {
      colspan: "5"
    }
  }, [t._v(t._s(t.ticketDataCopy.applyType) + "\u4ECE\u4E1A\u8D44\u683C\u8003\u6838")])]), n("tr", [n("th", {
    staticClass: "title",
    attrs: {
      colspan: "4"
    }
  }, [t._v("\u51C6\u8003\u8BC1")]), n("td", {
    attrs: {
      rowspan: "9"
    }
  }, [t.ticketDataCopy.headImg ? n("img", {
    staticClass: "head",
    attrs: {
      src: t.getImage(t.ticketDataCopy.headImg)
    }
  }) : t._e(), n("div", {
    staticClass: "admissionTicketCardQRcode",
    attrs: {
      id: "admissionTicketCardQRcode" + t.ticketDataCopy.studentCode
    }
  })])]), n("tr", [n("th", [t._v("\u59D3\u540D")]), n("td", [t._v(t._s(t.ticketDataCopy.name))]), n("th", [t._v("\u8EAB\u4EFD\u8BC1\u53F7")]), n("td", [t._v(t._s(t.ticketDataCopy.cardNo))])]), n("tr", [n("th", [t._v("\u51C6\u8003\u8BC1\u53F7")]), n("td", {
    attrs: {
      colspan: "3"
    }
  }, [t._v(" " + t._s(t.ticketDataCopy.studentCode) + " ")])]), n("tr", [n("th", [t._v("\u8003\u573A\u540D\u79F0")]), n("td", {
    attrs: {
      colspan: "3"
    }
  }, [t._v(" " + t._s(t.ticketDataCopy.examAddressName) + " ")])]), n("tr", [n("th", [t._v("\u8003\u573A\u5730\u70B9")]), n("td", {
    attrs: {
      colspan: "3"
    }
  }, [t._v(" " + t._s(t.ticketDataCopy.examAddress) + " ")])]), n("tr", [n("th", [t._v("\u62A5\u8003\u7C7B\u522B")]), n("td", [t._v(t._s(t.ticketDataCopy.applyType))]), n("th", [t._v("\u8003\u8BD5\u79D1\u76EE")]), n("td", [t._v(" " + t._s(t.ticketDataCopy.examSubject) + " ")])]), n("tr", [n("th", [t._v("\u8003\u8BD5\u5F00\u59CB\u65F6\u95F4")]), n("td", {
    attrs: {
      colspan: "3"
    }
  }, [t._v(t._s(t.ticketDataCopy.startDate))])]), n("tr", [n("th", [t._v("\u8003\u8BD5\u7ED3\u675F\u65F6\u95F4")]), n("td", {
    attrs: {
      colspan: "3"
    }
  }, [t._v(t._s(t.ticketDataCopy.endDate))])]), n("tr", [n("th", [t._v("\u7406\u8BBA\u8003\u8BD5\u6B21\u6570")]), n("td", {
    attrs: {
      colspan: "3"
    }
  }, [t._v(" " + t._s(t.ticketDataCopy.theoryExamCount) + " ")])]), t.ticketDataCopy.examDocketNotice ? n("tr", [n("th", [t._v("\u8003\u8BD5\u987B\u77E5")]), n("td", {
    attrs: {
      colspan: "4"
    }
  }, [n("div", {
    staticClass: "textinfo",
    domProps: {
      innerHTML: t._s(t.ticketDataCopy.examDocketNotice)
    }
  })])]) : t._e(), t.ticketDataCopy.examDocketRemark ? n("tr", [n("th", [t._v("\u51C6\u8003\u8BC1\u5907\u6CE8")]), n("td", {
    attrs: {
      colspan: "4"
    }
  }, [n("div", {
    staticClass: "textinfo",
    domProps: {
      innerHTML: t._s(t.ticketDataCopy.examDocketRemark)
    }
  })])]) : t._e()]), n("br"), n("br")]);
}, Re = [];
function Se(t, e, n, i, r, o, a, c) {
  var s = typeof t == "function" ? t.options : t;
  e && (s.render = e, s.staticRenderFns = n, s._compiled = !0), i && (s.functional = !0), o && (s._scopeId = "data-v-" + o);
  var u;
  if (a ? (u = function(f) {
    f = f || this.$vnode && this.$vnode.ssrContext || this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext, !f && typeof __VUE_SSR_CONTEXT__ < "u" && (f = __VUE_SSR_CONTEXT__), r && r.call(this, f), f && f._registeredComponents && f._registeredComponents.add(a);
  }, s._ssrRegister = u) : r && (u = c ? function() {
    r.call(
      this,
      (s.functional ? this.parent : this).$root.$options.shadowRoot
    );
  } : r), u)
    if (s.functional) {
      s._injectStyles = u;
      var l = s.render;
      s.render = function(d, C) {
        return u.call(C), l(d, C);
      };
    } else {
      var y = s.beforeCreate;
      s.beforeCreate = y ? [].concat(y, u) : [u];
    }
  return {
    exports: t,
    options: s
  };
}
const Pe = St({
  name: "admissionTicket",
  props: {
    childData: {
      type: Object,
      default: () => ({})
    }
  },
  setup: function(t) {
    const e = Pt({
      ticketDataCopy: {}
    }), n = () => {
      De({
        domID: `admissionTicketCardQRcode${e.ticketDataCopy.studentCode}`,
        text: `\u7F16\u53F7:${e.ticketDataCopy.studentCode};\r
\u59D3\u540D:${e.ticketDataCopy.name};\r
\u8EAB\u4EFD\u8BC1\u53F7:${e.ticketDataCopy.cardNo};\r
\u7533\u8BF7\u7C7B\u522B\uFF1A${e.ticketDataCopy.applyType}`,
        width: "100px",
        height: "100px"
      });
    };
    return kt(() => t.childData, (i) => {
      i && Object.keys(i).length && (e.ticketDataCopy = { ...i }, n());
    }, {
      deep: !0,
      immediate: !0
    }), {
      ...Lt(e),
      getImage: Me
    };
  }
}), ht = {};
var ke = /* @__PURE__ */ Se(
  Pe,
  be,
  Re,
  !1,
  Le,
  "5aaca55a",
  null,
  null
);
function Le(t) {
  for (let e in ht)
    this[e] = ht[e];
}
const ve = /* @__PURE__ */ function() {
  return ke.exports;
}(), Fe = zt(ve);
export {
  Fe as default
};
